forked from ddrilling/AsbCloudServer
Add another constructor
This commit is contained in:
parent
dd2a777d3d
commit
da8fcaead7
@ -55,6 +55,14 @@ namespace AsbCloudApp.Data
|
||||
public TimeDto()
|
||||
{ }
|
||||
|
||||
/// <inheritdoc/>
|
||||
public TimeDto(int hour = 0, int minute = 0, int second = 0)
|
||||
{
|
||||
this.hour = hour;
|
||||
this.minute = minute;
|
||||
this.second = second;
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public TimeDto(TimeOnly time)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user